home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 2.iso
/
dist
/
fw_hylafax.idb
/
usr
/
freeware
/
catman
/
u_man
/
cat1
/
cqtest.Z
/
cqtest
Wrap
Text File
|
2002-07-08
|
3KB
|
70 lines
CQTEST(${MANNUM1_8}) CQTEST(${MANNUM1_8})
NNAAMMEE
cqtest - _H_y_l_a_F_A_X copy quality checking test program
SSYYNNOOPPSSIISS
$${{SSBBIINN}}//ccqqtteesstt [ _o_p_t_i_o_n_s ] input.tif
DDEESSCCRRIIPPTTIIOONN
_c_q_t_e_s_t is a program for testing the copy quality checking
support in the _H_y_l_a_F_A_X software (specifically, in the
_f_a_x_g_e_t_t_y(${MANNUM1_8}) program). _c_q_t_e_s_t takes a TIFF/F
(TIFF Class F) file and generates a new TIFF/F file that
is a copy of the input file, but with any erroneous scan
lines replaced/regenerated. In addition, _c_q_t_e_s_t prints
diagnostic messages describing its actions and indicates
whether the input data has acceptable copy quality accord
ing to the copy quality checking threshold parameters.
Options are provided for specifying copy quality checking
threshold parameters
OOPPTTIIOONNSS
--mm _b_a_d_l_i_n_e_s Set the maximum consecutive bad lines of
data that may appear in each acceptable page
of input data. This is equivalent to the
MMaaxxCCoonnsseeccuuttiivveeBBaaddLLiinneess configuration parame
ter; c.f. _h_y_l_a_f_a_x_-_c_o_n_f_i_g(${MANNUM4_5}). By
default _c_q_t_e_s_t accepts no more than 5 con
secutive bad lines in a page.
--oo _f_i_l_e Write output to _f_i_l_e. By default output is
written to the file ccqq..ttiiff.
--pp _%_g_o_o_d_l_i_n_e_s Set the minimum percentage of ``good lines''
of data that may appear in acceptable page
of input data. A line is good if it decodes
without error to a row of pixels that is the
expected width. This is equivalent to the
PPeerrcceennttGGooooddLLiinneess configuration parameter;
c.f. _h_y_l_a_f_a_x_-_c_o_n_f_i_g(${MANNUM4_5}). By
default _c_q_t_e_s_t requires that 95% of the rows
of each page be good.
EEXXAAMMPPLLEESS
The following shows a multi-page, high-resolution document
with a single error on each page. Each page has accept
able copy quality using the default threshold parameters.
hyla% ${SBIN}/cqtest ~/tiff/pics/faxix.tif
1728 x 297, 7.7 line/mm, 1-D MR, lsb-to-msb
RECV/CQ: Bad 1D pixel count, row 245, got 1616, expected 1728
RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
1728 x 297, 7.7 line/mm, 1-D MR, lsb-to-msb
RECV/CQ: Bad 1D pixel count, row 148, got 3023, expected 1728
RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
1728 x 297, 7.7 line/mm, 1-D MR, lsb-to-msb
RECV/CQ: Bad 1D pixel count, row 151, got 1722, expected 1728
RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
1728 x 297, 7.7 line/mm, 1-D MR, lsb-to-msb
RECV/CQ: Bad 1D pixel count, row 148, got 1776, expected 1728
RECV: 2234 total lines, 1 bad lines, 1 consecutive bad lines
SSEEEE AALLSSOO
_f_a_x_g_e_t_t_y(${MANNUM1_8}), _h_y_l_a_f_a_x_-_c_o_n_f_i_g(${MANNUM4_5})